Skip to content

Fix --hostname switch - #4

Merged
lugoues merged 1 commit into
lugoues:mainfrom
CiaranG:pr-hostname
Apr 22, 2026
Merged

Fix --hostname switch#4
lugoues merged 1 commit into
lugoues:mainfrom
CiaranG:pr-hostname

Conversation

@CiaranG

@CiaranG CiaranG commented Dec 16, 2025

Copy link
Copy Markdown

This fixes a long-standing bug where using "--hostname x" (as opposed to "--hostname=x" resulted in duplication hostname switches being passed to the tailscale binary. Historically this bug has been masked by the fact that tailscale ignored all but the last of these, and the user-specified (non-default) one coincidentally got placed last. However, tailscale has recently started barfing on the duplicate switch so you could no longer use --hostname in the non-= form even though that's the form recommended in the documentation.

This fixes a long-standing bug where using "--hostname x" (as opposed
to "--hostname=x" resulted in duplication hostname switches being
passed to the tailscale binary. Historically this bug has been masked
by the fact that tailscale ignored all but the last of these, and the
user-specified (non-default) one coincidentally got placed last.
However, tailscale has recently started barfing on the duplicate switch
so you could no longer use --hostname in the non-= form even though that's
the form recommended in the documentation.
@lugoues

lugoues commented Apr 16, 2026

Copy link
Copy Markdown
Owner

Sorry a bit behind on this stuff. This looks great, thank you. I'll get it merged and a new release cut this weekend.

@lugoues
lugoues merged commit b0cf319 into lugoues:main Apr 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants